- add: /modules
  to: /src/modules
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  excludePaths:
  - '*/openapi/values.yaml'
  - '*/openapi/*-tests.yaml'
  - '*/docs/internal/'
  - '005-external-module-manager/crds/external-module-*'
  - '040-node-manager/crds/deckhousecontrolplane.yaml'
  - '040-node-manager/crds/mcm.yaml'
  - '040-node-manager/crds/cluster.yaml'
  - '040-node-manager/crds/extension-config.yaml'
  - '040-node-manager/crds/machine.yaml'
  - '040-node-manager/crds/machine-*.yaml'
  - '040-node-manager/crds/staticcluster.yaml'
  - '040-node-manager/crds/staticcontrolplane.yaml'
  - '040-node-manager/crds/staticmachine*.yaml'
  - '110-istio/crds/istio'
  includePaths: ['*/docs/','*/openapi/','*/crds/', '*/oss.yaml']
- add: /modules
  to: /srv/jekyll-data/documentation/_data/bundles/raw/ce
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['values-*.yaml']
- add: /global-hooks/openapi
  to: /src/global
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['*config-values.yaml','doc-ru-config-values.yaml']
- add: /candi/openapi
  to: /src/global
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['*cluster_configuration.yaml', '*init_configuration.yaml', '*static_cluster_configuration.yaml']
- add: /deckhouse-controller/crds
  to: /src/global/crds
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
{{- if or (eq .Env "BE") (eq .Env "SE") (eq .Env "EE") (eq .Env "FE") (eq .Env "development") }}
- add: /ee/be/modules
  to: /srv/jekyll-data/documentation/_data/bundles/raw/be
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['values-*.yaml']
- add: /ee/be/modules
  to: /src/be/modules
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['*/docs/','*/openapi/','*/crds/', '*/oss.yaml']
  excludePaths: ['*/openapi/values.yaml', '*/openapi/*-tests.yaml', '*/docs/internal/']
{{- end }}
{{- if or (eq .Env "SE") (eq .Env "EE") (eq .Env "FE") (eq .Env "development") }}
- add: /ee/se/modules
  to: /srv/jekyll-data/documentation/_data/bundles/raw/se
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['values-*.yaml']
- add: /ee/se/modules
  to: /src/se/modules
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['*/docs/','*/openapi/','*/crds/', '*/oss.yaml']
  excludePaths: ['*/openapi/values.yaml', '*/openapi/*-tests.yaml', '*/docs/internal/']
{{- end }}
{{- if or (eq .Env "EE") (eq .Env "FE") (eq .Env "development") }}
- add: /ee/modules
  to: /srv/jekyll-data/documentation/_data/bundles/raw/ee
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['values-*.yaml']
- add: /ee/modules
  to: /src/ee/modules
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['*/docs/','*/openapi/','*/crds/', '*/oss.yaml']
  excludePaths: ['*/openapi/values.yaml', '*/openapi/*-tests.yaml', '*/docs/internal/', '160-multitenancy-manager/crds/projecttypes.yaml', '160-multitenancy-manager/crds/doc-ru-projecttypes.yaml']
- add: /ee/candi/cloud-providers/openstack/openapi
  to: /src/ee/modules/030-cloud-provider-openstack/crds
  owner: jekyll
  group: jekyll
  includePaths: ['*instance_class.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /ee/candi/cloud-providers/openstack/openapi
  to: /src/ee/modules/030-cloud-provider-openstack/openapi
  owner: jekyll
  group: jekyll
  includePaths: ['*cluster_configuration.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /ee/candi/cloud-providers/vsphere/openapi
  to: /src/ee/modules/030-cloud-provider-vsphere/crds
  owner: jekyll
  group: jekyll
  includePaths: ['*instance_class.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /ee/candi/cloud-providers/vsphere/openapi
  to: /src/ee/modules/030-cloud-provider-vsphere/openapi
  owner: jekyll
  group: jekyll
  includePaths: ['*cluster_configuration.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /ee/candi/cloud-providers/vcd/openapi
  to: /src/ee/modules/030-cloud-provider-vcd/crds
  owner: jekyll
  group: jekyll
  includePaths: ['*instance_class.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /ee/candi/cloud-providers/vcd/openapi
  to: /src/ee/modules/030-cloud-provider-vcd/openapi
  owner: jekyll
  group: jekyll
  includePaths: ['*cluster_configuration.yaml']
  stageDependencies:
    setup: ['**/*']
{{- end }}
{{- if or (eq .Env "FE") (eq .Env "development")  }}
- add: /ee/fe/modules
  to: /srv/jekyll-data/documentation/_data/bundles/raw/fe
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['values-*.yaml']
- add: /ee/fe/modules
  to: /src/fe/modules
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['*/docs/','*/openapi/','*/crds/', '*/oss.yaml']
  excludePaths: ['*/openapi/values.yaml', '*/openapi/*-tests.yaml''*/docs/internal/']
{{- end }}
# CRDs
- add: /modules/010-user-authn-crd/crds
  to: /src/modules/150-user-authn/crds
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
- add: /candi/openapi
  to: /src/modules/040-node-manager/crds
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  includePaths: ['*node_group.yaml']
- add: /candi/cloud-providers/aws/openapi
  to: /src/modules/030-cloud-provider-aws/crds
  owner: jekyll
  group: jekyll
  includePaths: ['*instance_class.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/aws/openapi
  to: /src/modules/030-cloud-provider-aws/openapi
  owner: jekyll
  group: jekyll
  includePaths: ['*cluster_configuration.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/aws/docs
  to: /src/modules/030-cloud-provider-aws/docs
  owner: jekyll
  group: jekyll
  includePaths: ['LAYOUTS*.md','ENVIRONMENT*.md','CLUSTER_CONFIGURATION*.md']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/azure/docs
  to: /src/modules/030-cloud-provider-azure/docs
  owner: jekyll
  group: jekyll
  includePaths: ['LAYOUTS*.md','ENVIRONMENT*.md','CLUSTER_CONFIGURATION*.md']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/gcp/docs
  to: /src/modules/030-cloud-provider-gcp/docs
  owner: jekyll
  group: jekyll
  includePaths: ['LAYOUTS*.md','ENVIRONMENT*.md','CLUSTER_CONFIGURATION*.md']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/yandex/docs
  to: /src/modules/030-cloud-provider-yandex/docs
  owner: jekyll
  group: jekyll
  includePaths: ['LAYOUTS*.md','ENVIRONMENT*.md','CLUSTER_CONFIGURATION*.md']
  stageDependencies:
    setup: ['**/*']
- add: /ee/candi/cloud-providers/openstack/docs
  to: /src/ee/modules/030-cloud-provider-openstack/docs
  owner: jekyll
  group: jekyll
  includePaths: ['LAYOUTS*.md','ENVIRONMENT*.md','CLUSTER_CONFIGURATION*.md']
  stageDependencies:
    setup: ['**/*']
- add: /ee/candi/cloud-providers/vsphere/docs
  to: /src/ee/modules/030-cloud-provider-vsphere/docs
  owner: jekyll
  group: jekyll
  includePaths: ['LAYOUTS*.md','ENVIRONMENT*.md','CLUSTER_CONFIGURATION*.md']
  stageDependencies:
    setup: ['**/*']
- add: /ee/candi/cloud-providers/vcd/docs
  to: /src/ee/modules/030-cloud-provider-vcd/docs
  owner: jekyll
  group: jekyll
  includePaths: ['LAYOUTS*.md','ENVIRONMENT*.md','CLUSTER_CONFIGURATION*.md']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/azure/openapi
  to: /src/modules/030-cloud-provider-azure/crds
  owner: jekyll
  group: jekyll
  includePaths: ['*instance_class.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/azure/openapi
  to: /src/modules/030-cloud-provider-azure/openapi
  owner: jekyll
  group: jekyll
  includePaths: ['*cluster_configuration.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/gcp/openapi
  to: /src/modules/030-cloud-provider-gcp/crds
  owner: jekyll
  group: jekyll
  includePaths: ['*instance_class.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/gcp/openapi
  to: /src/modules/030-cloud-provider-gcp/openapi
  owner: jekyll
  group: jekyll
  includePaths: ['*cluster_configuration.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/yandex/openapi
  to: /src/modules/030-cloud-provider-yandex/crds
  owner: jekyll
  group: jekyll
  includePaths: ['*instance_class.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /candi/cloud-providers/yandex/openapi
  to: /src/modules/030-cloud-provider-yandex/openapi
  owner: jekyll
  group: jekyll
  includePaths: ['*cluster_configuration.yaml']
  stageDependencies:
    setup: ['**/*']
- add: /modules/010-prometheus-crd/crds
  to: /src/modules/010-prometheus-crd/crds
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
- add: /modules/010-vertical-pod-autoscaler-crd/crds
  to: /src/modules/302-vertical-pod-autoscaler/crds
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
  excludePaths:
  - verticalpodautoscalercheckpoint.yaml
- add: /candi/version_map.yml
  to: /srv/jekyll-data/documentation/_data/version_map.yml
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
- add: /editions.yaml
  to: /srv/jekyll-data/documentation/_data/editions-source.yaml
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
- add: /dhctl/pkg/config/base.go
  to: /srv/jekyll-data/documentation/_data/dhctl-base.go
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
- add: /modules/007-registrypackages/images/d8/werf.inc.yaml
  to: /src/registrypackages/werf.inc.yaml
  owner: jekyll
  group: jekyll
  stageDependencies:
    setup: ['**/*']
